package com.caiyigo.test.arithmetic.decorator;

import org.junit.Test;

public class test {
	@Test
	public void test() {
		Person person = new Person("小菜");
		TShirts tShirts = new TShirts();
		BigTrouser bigTrouser = new BigTrouser();
		tShirts.Decorate(person);
		bigTrouser.Decorate(tShirts);
		bigTrouser.Show();

	}

}
